#ifndef t_display_h
#define t_display_h
/*
 * Sylvain BERTRAND <digital.ragnarok@gmail.com>
 * code protected by GNU GPL v3
 */
G_BEGIN_DECLS
gboolean t_display_error_occured;
gboolean t_display_extension_xkb;
gint t_display_extension_xkb_basep;
gboolean t_display_extension_shape;
gint t_display_extension_shape_basep;
gboolean t_display_extension_xinerama;
gint t_display_extension_xinerama_basep;
gboolean t_display_extension_randr;
gint t_display_extension_randr_basep;
gboolean t_display_extension_sync;
gint t_display_extension_sync_basep;
Display* t_display;
gboolean t_display_open(const char *display_name);
void t_display_close(void);
void t_display_ignore_errors(gboolean ignore);
#define t_root(screen) (RootWindow(t_display, screen))
G_END_DECLS
#endif
